/**
 *@des 个人中心相关接口
 *@author stav stavyan@qq.com
 *@blog https://stavtop.club
 *@date 2019/11/16 11:04:16
 */
// 个人信息
const memberInfo = '/appController.do?getCstmInfo';//'/tiny-shop/v1/member/member/index';
// 个人信息修改
const memberUpdate = '/appController.do?editChildren';//'/tiny-shop/v1/member/member/update';
//个人信息统计
const profileCount = '/appController.do?myTotalCount';//'/tiny-shop/v1/member/member/index';

// 收货地址列表
const addressList = '/appController.do?getMyAddrList';
// 默认收货地址
const addressDefault = '/appController.do?getDefalutAddr';//'/tiny-shop/v1/member/address/default';
// 默认收货地址
const addressDetail = '/appController.do?getCstmAddressInfo';
// 创建收货地址
const addressCreate = '/appController.do?addressEdit';//'/tiny-shop/v1/member/address/create';
// 修改收货地址
const addressUpdate = '/appController.do?addressEdit';
// 删除收货地址
const addressDelete = '/appController.do?delAddress';

const getDefalutAddr ='/appController.do?getDefalutAddr'; 


//我的家人列表
const cstmList = '/appController.do?getCstmListByIds';
//家人信息
const cstmDetail = '/appController.do?getCstmInfo';

//取消关联
const cstmDelete = '/appController.do?cancelCstm';

//关联家人
const cstmBind = '/appController.do?linkCstm';

//扫码关联
const scanBind = '/appController.do?scanningCode';

//健康数据首页
const getTodayJkzsItem = '/jkAppController.do?getTodayJkzsItem';
//健康历史数据		  
const getHealthDayList = '/jkAppController.do?getHealthDayList';
//健康参数
const getHealthParam =  '/jkAppController.do?getHealthParam';


		  
// 获取优惠券列表
const couponList = '/tiny-shop/v1/marketing/coupon-type/index';
// 获取我的优惠券列表
const myCouponList = '/tiny-shop/v1/member/coupon/index';
// 优惠券详情
const couponDetail = '/tiny-shop/v1/marketing/coupon-type/view';
// 领取优惠券
const couponReceive = '/tiny-shop/v1/marketing/coupon-type/create';
const couponClear = '/tiny-shop/v1/member/coupon/clear';

// 获取我的订单
const orderList = '/appController.do?getMyOrderList';//'/tiny-shop/v1/member/order/index';
// 订单确认收货
const orderTakeDelivery = '/appController.do?orderConfirm';//'/tiny-shop/v1/member/order/take-delivery';
// 退货/退款申请
const orderRefundApply = '/appController.do?backOrderRefund';//'/tiny-shop/v1/member/order-product/refund-apply';
// 产品退货提交物流
const orderProductSalesReturn = '/tiny-shop/v1/member/order-product/refund-sales-return';
	
const getMyBackOrderList = 	'/payAppController.do?getMyBackOrderList';
	
// 关闭退货/退款申请
const closeOrderRefundApply = '/payAppController.do?refundChangeState'; //'/tiny-shop/v1/member/order-product/refund-close';
// 获取订单详情
const orderDetail = '/appController.do?getOrderInfo';//'/tiny-shop/v1/member/order/view';
const getOrderDetailList = '/appController.do?getOrderDetailList';
const getOrderInfoItem = '/appController.do?getOrderInfoItem';//'/tiny-shop/v1/member/order/view';

//购物车支付
const cartOrderDetail = '/appController.do?getCartPayInfo';

// 删除已关闭订单
const orderDelete = '/appController.do?deleteOrder';//'/tiny-shop/v1/member/order/delete';

// 获取我的足迹
const footPrintList = '/appController.do?getMyHistoryList';//'/tiny-shop/v1/member/footprint/index';
// 删除我的足迹
const footPrintDel = '/appController.do?deleteHistoryOrCollection';//'/tiny-shop/v1/member/footprint/delete';

const decryptQRCode = '/appController.do?decryptQRCode';

// 收藏列表
const collectList = '/appController.do?getMyCollectionList';//'/tiny-shop/v1/member/collect/index';

// 积分余额日志
const creditsLogList = '/appController.do?getMyJfList';//'/tiny-shop/v1/member/credits-log/index';

const getMyCostList =  '/appController.do?getMyCostList';

const getMyJJCostList = '/appController.do?getMyJJCostList';

const getVoucherListByCstmId = '/appController.do?getVoucherListByCstmId';


// 创建订单评价
const evaluateCreate = '/appController.do?addOrderComment';//'/tiny-shop/v1/member/evaluate/create';
// 追加评价
const evaluateAgain = '/tiny-shop/v1/member/evaluate/again';
// 订单商品
const orderProductIndex = '/tiny-shop/v1/member/order-product/index';

// 发票列表
const invoiceList = '/tiny-shop/v1/member/invoice/index';
// 发票列表
const invoiceCreate = '/tiny-shop/v1/member/invoice/create';
// 发票编辑
const invoiceUpdate = '/tiny-shop/v1/member/invoice/update';
// 发票详情
const invoiceDetail = '/tiny-shop/v1/member/invoice/view';
// 默认发票
const invoiceDefault = '/tiny-shop/v1/member/invoice/default';
// 删除发票
const invoiceDel = '/tiny-shop/v1/member/invoice/delete';
// 开票列表
const orderInvoiceList = '/tiny-shop/v1/member/order-invoice/index';
// 发票补领
const orderInvoiceCreate = '/tiny-shop/v1/member/order-invoice/create';

// 意见反馈列表
const opinionList = '/tiny-shop/v1/member/opinion/index';
// 意见反馈创建
const opinionCreate = '/tiny-shop/v1/member/opinion/create';
// 意见反馈详情
const opinionDetail = '/tiny-shop/v1/member/opinion/view';

// 第三方授权列表
const thirdPartyAuthList = '/tiny-shop/v1/member/auth/index';
// 解除第三方授权列表
const thirdPartyAuthDelete = '/tiny-shop/v1/member/auth/delete';

// 充值金额
const rechargeConfigIndex = '/tiny-shop/v1/member/recharge-config/index';

// 订单售后
// 申请退款/退货
const orderCustomerRefundApply = '/tiny-shop/v1/member/order-customer/apply';
// 退货提交物流
const orderCustomerSalesReturn =
	'/tiny-shop/v1/member/order-customer/sales-return';
// 退款/退货关闭申请
const orderCustomerRefundClose = '/tiny-shop/v1/member/order-customer/close';

// 上传图片
const uploadImage = '/appController.do?uploadImg';//'/tiny-shop/v1/common/file/images';

// 消息通知
// 消息列表
const notifyIndex = '/appController.do?myRemindList';//'/tiny-shop/v1/member/notify/index';
const getVcareList = '/appController.do?getVcareList';
// 消息详情
const notifyView = '/appController.do?getRemindInfo';//'/tiny-shop/v1/member/notify/view';
// 单个消息阅读
const notifyRead = '/appController.do?checkRemind';///tiny-shop/v1/member/notify/read';
// 全部已读
const notifyReadAll = '/appController.do?checkAllRemind';//'/tiny-shop/v1/member/notify/read-all';

const checkAllVcare = '/appController.do?checkAllVcare';
// 删除一条或者多条
const notifyClear = '/tiny-shop/v1/member/notify/clear';
// 清空消息记录
const notifyClearAll = '/tiny-shop/v1/member/notify/clear-all';
// 未读消息个数
const notifyUnRreadCount = '/appController.do?getMyLastMsg';//'/tiny-shop/v1/member/notify/un-read-count';
// 消息提醒配置
const notifySubscriptionConfigIndex = '/tiny-shop/v1/member/notify-subscription-config/index';
// 修改消息提醒配置
const notifySubscriptionConfigUpConfig = '/tiny-shop/v1/member/notify-subscription-config/up-config';

// 虚拟码列表
const orderProductVirtualIndex =
	'/tiny-shop/v1/member/order-product-virtual/index';
// 虚拟码详情
const orderProductVirtualView =
	'/tiny-shop/v1/member/order-product-virtual/view';
// 虚拟码详情
const productVirtualVerificationVerify =
	'/tiny-shop/v1/order/product-virtual-verification/verify';

// 会员等级
const memberLevelIndex = '/tiny-shop/v1/member/member-level/index';

//用药提醒
const drugList = '/jkAppController.do?getMyDrugList';
//修改用药提醒
const editDrug = '/jkAppController.do?saveDrugRemind';
//用药提醒详情
const drugDetail = '/jkAppController.do?getCstmDrugSet';
//用药提醒详情
const deleteDrug = '/jkAppController.do?delCstmDrugSet';

//家人腕表设备列表
const getCstmListByIds = '/appController.do?getCstmListByIds';
const getCstmGps = '/appController.do?getCstmGps';
const getCstmHistoryGps = '/appController.do?getCstmHistoryGps';
const getCstmFence = '/appController.do?getCstmFence';
const deleteWatch = '/appController.do?deleteWatch';
const saveWatch = '/appController.do?saveWatch';


//家人床垫绑定
const getCstmListByUserId = '/appController.do?getCstmListByUserId';
//智能床垫日报
const sleepDayDetail = '/sdSleepStudyController.do?sleepDayDetail';
//智能床垫周报
const sleepWeekDetail = '/sdSleepStudyController.do?sleepWeekDetail';
//智能床垫
const sleepMonthDetail = '/sdSleepStudyController.do?sleepMonthDetail';
//智能床垫实时
const getDeviceActual = '/appController.do?getDeviceActual';
//智能提醒
const getAlarmCount = '/appController.do?getAlarmCount';

//获取腕表设置信息
const getHuInfo = '/appController.do?getHuInfo';
//电话本设置
const addAllPhone = '/appController.do?addAllPhone';
//SOS设置
const speciallyPhoneSet = '/appController.do?speciallyPhoneSet';
//腕表上传频率设置
const locationMode = '/appController.do?locationMode';

const addOrderEvaluation = '/appController.do?addOrderEvaluation';
//保存围栏
const  saveFence =  '/appController.do?saveFence';
//腕表主动定位和主动测量心率请求接口
const getActiveLocation =  '/appController.do?getActiveLocation';

const getCstmGpsList  = '/appController.do?getCstmGpsList';

const getWatchChartData = '/jkAppController.do?getWatchChartData';

const getXieyaTotalList ='/jkAppController.do?getXieyaTotalList';
const getXietangTotalList = '/jkAppController.do?getXietangTotalList';
const  getSportTotalList  = '/jkAppController.do?getSportTotalList';
//日平均、周平均、月平均		  
const getEcgdataTotalList = '/jkAppController.do?getEcgdataTotalList'; 
const getNiaocgTotalList = '/jkAppController.do?getNiaocgTotalList';
const getTiWengTotalList  =  '/jkAppController.do?getTiWengTotalList';

const getXieyangTotalList =  '/jkAppController.do?getXieyangTotalList';
const getXiezhiTotalList = '/jkAppController.do?getXiezhiTotalList';
const getWeightTotalList = '/jkAppController.do?getWeightTotalList';

const getMyCstmList  =  '/appController.do?getMyCstmList';
const saveBirthdayRemind  = '/jkAppController.do?saveBirthdayRemind';
const getCstmBirthdaySet = '/jkAppController.do?getCstmBirthdaySet';
const  encodeCode =  '/sdCustomController.do?qrcode';
export {
	getVoucherListByCstmId,
	getMyJJCostList,
	encodeCode,
	getDefalutAddr,
	getMyCstmList,
	saveBirthdayRemind,
	getCstmBirthdaySet,
	getWeightTotalList,
	getXiezhiTotalList,
	getXieyangTotalList,
	getTiWengTotalList,
	getSportTotalList,
	getXietangTotalList,
	getXieyaTotalList,
	getWatchChartData,
	getCstmGpsList,
	getActiveLocation,
	saveFence,
	getHealthParam,
	checkAllVcare,
	getVcareList,
	getMyCostList,
	addOrderEvaluation,
	decryptQRCode,
	getMyBackOrderList,
	getOrderInfoItem,
	getOrderDetailList,
	speciallyPhoneSet,
	locationMode,
	addAllPhone,
	getHuInfo,
	saveWatch,
	deleteWatch,
	getCstmListByUserId,
	sleepDayDetail,
	sleepWeekDetail,
	sleepMonthDetail,
	getDeviceActual,
	getAlarmCount,
	drugList,
	editDrug,
	drugDetail,
	deleteDrug,
	memberInfo,
	memberUpdate,
	addressList,
	addressCreate,
	addressDefault,
	addressDetail,
	addressUpdate,
	addressDelete,
	couponList,
	myCouponList,
	couponClear,
	couponDetail,
	orderList,
	orderRefundApply,
	closeOrderRefundApply,
	orderProductSalesReturn,
	orderDetail,
	orderDelete,
	orderTakeDelivery,
	couponReceive,
	footPrintList,
	footPrintDel,
	collectList,
	creditsLogList,
	evaluateCreate,
	evaluateAgain,
	invoiceList,
	invoiceCreate,
	invoiceUpdate,
	invoiceDetail,
	invoiceDefault,
	invoiceDel,
	orderInvoiceCreate,
	orderInvoiceList,
	uploadImage,
	opinionList,
	opinionCreate,
	opinionDetail,
	thirdPartyAuthList,
	thirdPartyAuthDelete,
	rechargeConfigIndex,
	orderCustomerSalesReturn,
	orderCustomerRefundApply,
	orderCustomerRefundClose,
	orderProductIndex,
	notifyIndex,
	notifyView,
	notifyRead,
	notifyReadAll,
	notifyClear,
	notifyClearAll,
	notifyUnRreadCount,
	notifySubscriptionConfigUpConfig,
	notifySubscriptionConfigIndex,
	orderProductVirtualIndex,
	orderProductVirtualView,
	productVirtualVerificationVerify,
	memberLevelIndex,
	profileCount,
	cartOrderDetail,
	cstmList,
	cstmDetail,
	cstmDelete,
	cstmBind,
	scanBind,
	getTodayJkzsItem,
	getHealthDayList,
	getEcgdataTotalList,
	getNiaocgTotalList,
	getCstmListByIds,
	getCstmGps,
	getCstmHistoryGps,
	getCstmFence
	
	
};
